class CreateOrderShippingAddresses < ActiveRecord::Migration
  def change
    create_table :order_shipping_addresses do |t|
      t.references :order
      t.string :line1
      t.string :line2
      t.string :city
      t.string :state
      t.string :country
      t.string :zip

      t.timestamps
    end
    add_index :order_shipping_addresses, :order_id
  end
end
